//app.js
App({
  onLaunch: function () {
   
  },
  onShow: function () {
    let that = this;
    wx.getSystemInfo({
      success: res => {
        console.log(res)
        let modelmes = res.model;
        if (modelmes.search('iPhone X') != -1) {
          that.globalData.isIphoneX = true
        }
        console.log(that.globalData.isIphoneX)

      }
    })
  },
  globalData: {
    userInfo: null,
    isIphoneX: false,
    articleCity: '',
    videoCity: '',
    picCity: ''
  }
})